import pygame, math, sys
from Block import Block

class KillBlock(Block):
    def __init__(self, pos, screenSize, image, size):
        Block.__init__(self, pos, screenSize, image, size)
        self.font = pygame.font.Font(None, 60)
        self.value = 0
        self.image = pygame.image.load(image)
        self.image = pygame.transform.scale(self.image, size)
        self.rect = self.image.get_rect(centerx=pos[0], centery=pos[1])
        self.screenWidth = screenSize[0]
        self.screenHeight = screenSize[1]
        self.go = True
        self.radius = 100
        self.nodamage = False
        self.living = True
                          
